<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<title>[$page_title] - [server_name]</title>
	<link href="/_Assets/Styles/forms.css" rel="stylesheet" type="text/css">
	[$show_admin_content ? '<link href="/_Assets/Styles/admin.css" rel="stylesheet" type="text/css"  media="screen">\r']
	[$show_admin_content ? '<link href="/_Assets/Styles/minimal.css" rel="stylesheet" type="text/css"  media="screen">\r']
	[$show_admin_content ? '<link href="/_Assets/Styles/editinplace.css" rel="stylesheet" type="text/css"  media="screen">\r']
	
	<script type="text/javascript" src="/_Assets/Scripts/parseuri.js"></script>
	<script type="text/javascript" src="/_Assets/jQuery/jquery-1.1.1.pack.js"></script>
	<script type="text/javascript" src="/_Assets/jQuery/superfish.js"></script>
	<script type="text/javascript" src="/_Assets/jQyery/thickbox.js"></script>
	<script type="text/javascript" src="/_Assets/JQuery/interface.js"></script>
	<script type="text/javascript" src="/_Assets/jQuery/jquery.innerfade/js/jquery.innerfade.js"></script>
	[$show_admin_content ? '<script type="text/javascript" src="/_Assets/jQuery/jQuery-edit-h2.js"></script>']
	[$show_admin_content ? '<script type="text/javascript" src="/_Assets/jQuery/jQuery-edit-content.js"></script>']
	<script type="text/javascript">
	
	
	
	
				$(document).ready(function(){
						$("#nav li").hover(
							function(){ $("ul", this).fadeIn("fast"); }, 
							function() { } 
						);
					if (document.all) {
							$("#nav li").hoverClass ("sfHover");
						}
					});
					
				$.fn.hoverClass = function(c) {
					return this.each(function(){
						$(this).hover( 
							function() { $(this).addClass(c);  },
							function() { $(this).removeClass(c); }
						);
					});
				};
					
					
				$("div#saved").ready(function(){
					$("div#saved").fadeOut(2200,function(){
					$("#editor").slideDown(200);
					});
				});
					
				$("div#deleted").ready(function(){
					$("div#deleted").fadeOut(2000,function(){
					});
				});
				$("div#added").ready(function(){
					$("div#added").fadeOut(2000,function(){
					});
				});
				
				$("div#"+(parseUri(window.location.href).anchor)).ready(function(){
					$("div#"(parseUri(window.location.href).anchor)).fadeOut(100,function(){
					});
				});


	</script>
</head>
	<body>
		 
		<div id="container-1">
			 
			<div id="header">
					<a href="/Admin" id="logo">
						<h1>
							<strong>
								Makerator Administration
							</strong>
						</h1>
					</a>
					[$apparent_AuthenticationStatus == 'Unauthorized' ? '<a href="/_Auth/Sign_In/" id="signin"><strong>Sign In</strong></a>' | '<a title="You are signed in. Click to sign out." href="/_Auth/Sign_Out/" id="signout"><strong>Sign Out</strong></a>']			</div>
			[include('/_Assets/admin_navbar.lasso')] 
			
			<div id="container-2">
				
				<div id="content">
						[@$crumbtrail]
						[if($show_admin_content && var_defined('pageid') && (!(response_path)->beginswith('/Admin/')));
								'<input type="hidden" value="'+$pageid+'" id="page_id"><h2 id="editInPlace">'+@$page_title+'</h2>';
						else;
								'<h2>'+@$page_title+'</h2>';
						/if;
						]
						
						<script type="text/javascript">
							if ((parseUri(window.location.href).anchor) == 'saved') {
							document.write(('<div id="saved"><strong>Saved<\/strong> <\/div>'));
							window.location.href = '[response_path]#edit';
							};
							if ((parseUri(window.location.href).anchor) == 'deleted') {
							document.write(('<div id="deleted"><strong>Deleted<\/strong> <\/div>'));
							window.location.href = '[response_path]#top';
							};
							if ((parseUri(window.location.href).anchor) == 'added') {
							document.write(('<div id="added"><strong>Added<\/strong> <\/div>'));
							window.location.href = '[response_path]#top';
							};

						</script>
						
						[if(1 == 5 && $show_admin_content && var_defined('pageid') && (!(response_path)->beginswith('/Admin/')));
								'<div id="bodyText">'+@$public_content+'</div>';
						else;
								@$public_content;
						/if;
						]
				</div>
			</div>
			[$show_admin_content && $debug_content->size ? '<div id="debug"><code>' @$debug_content'</code></div>';]
			[$head_insert->size > 2 ? @$head_insert]
		</div>

		




</body>
</html>
